package com.example.model;

import java.util.Date;

/**
 * Users and global privileges
 *
 * @author 
 */
public class User {
    /**
     * 主键
     *
     */
    private Integer id;

    /**
     * 登录名
     *
     */
    private String loginName;

    /**
     * 用户名
     *
     */
    private String userName;

    /**
     * 密码
     *
     */
    private String password;

    /**
     * 年龄
     *
     */
    private Integer age;



    /**
     * 邮箱
     *
     */
    private String email;

    /**
     * 手机
     *
     */
    private String mobile;

    /**
     *
     */


    /**
     *
     */
    private Date createTime;

    /**
     *
     */
    private Date updateTime;

    /**
     * This method returns the value of the database column user.id
     *
     * @return the value of user.id
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method sets the value of the database column user.id
     *
     * @param id the value for user.id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method returns the value of the database column user.login_name
     *
     * @return the value of user.login_name
     */
    public String getLoginName() {
        return loginName;
    }

    /**
     * This method sets the value of the database column user.login_name
     *
     * @param loginName the value for user.login_name
     */
    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    /**
     * This method returns the value of the database column user.user_name
     *
     * @return the value of user.user_name
     */
    public String getUserName() {
        return userName;
    }

    /**
     * This method sets the value of the database column user.user_name
     *
     * @param userName the value for user.user_name
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * This method returns the value of the database column user.password
     *
     * @return the value of user.password
     */
    public String getPassword() {
        return password;
    }

    /**
     * This method sets the value of the database column user.password
     *
     * @param password the value for user.password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * This method returns the value of the database column user.gender
     *
     * @return the value of user.gender
     */
    public Integer getAge() {
        return age;
    }

    /**
     * This method sets the value of the database column user.gender
     *
     * @param age the value for user.gender
     */
    public void setAge(Integer age) {
        this.age = age;
    }



    /**
     * This method returns the value of the database column user.email
     *
     * @return the value of user.email
     */
    public String getEmail() {
        return email;
    }

    /**
     * This method sets the value of the database column user.email
     *
     * @param email the value for user.email
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * This method returns the value of the database column user.mobile
     *
     * @return the value of user.mobile
     */
    public String getMobile() {
        return mobile;
    }

    /**
     * This method sets the value of the database column user.mobile
     *
     * @param mobile the value for user.mobile
     */
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    /**
     * This method returns the value of the database column user.file_name
     *
     * @return the value of user.file_name
     */


    /**
     * This method returns the value of the database column user.create_time
     *
     * @return the value of user.create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method sets the value of the database column user.create_time
     *
     * @param createTime the value for user.create_time
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method returns the value of the database column user.update_time
     *
     * @return the value of user.update_time
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * This method sets the value of the database column user.update_time
     *
     * @param updateTime the value for user.update_time
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", loginName=").append(loginName);
        sb.append(", userName=").append(userName);
        sb.append(", password=").append(password);
        sb.append(", age=").append(age);

        sb.append(", email=").append(email);
        sb.append(", mobile=").append(mobile);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}